//
//  AlertManagedObject.h
//  ALittleReminder
//
//  Created by George on 11-11-04.
//
//

typedef void (^SetImageBlock)(UIImage * image);

@interface AlertManagedObject : NSManagedObject{
}

@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSDate * date;

//imageURLString is a URL to a local asset (assets-library://asset/asset.JPG?id=...&ext=JPG). This will have to be changed for networking support;
@property (nonatomic, retain) NSString * imageURLString;

@property (nonatomic, retain) NSString * text;

@property (nonatomic, retain) NSString * audioFileName;


- (NSString *) timeToString;

- (void) useImage:(SetImageBlock) setImageBlock;
- (void) useThumbnail:(SetImageBlock) setImageBlock;

- (void) removeAudioFile;
@end
